home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmTextGetBaseline.z
/
XmTextGetBaseline
Wrap
Text File
|
1998-10-30
|
3KB
|
67 lines
XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttBBBBaaaasssseeeelllliiiinnnneeee((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttBBBBaaaasssseeeelllliiiinnnneeee((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttBBBBaaaasssseeeelllliiiinnnneeee - A Text function that accesses the y
position of the baseline
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/Text.h>
iiiinnnntttt XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttBBBBaaaasssseeeelllliiiinnnneeee(
WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttBBBBaaaasssseeeelllliiiinnnneeee accesses the _y position of the baseline in
the Text widget, relative to the _y position of the top of
the widget.
In vertical mode (when the XXXXmmmmNNNNllllaaaayyyyoooouuuuttttDDDDiiiirrrreeeeccccttttiiiioooonnnn resource is
XXXXmmmmTTTTOOOOPPPP____TTTTOOOO____BBBBOOOOTTTTTTTTOOOOMMMM) this function returns 0 and the program
should use XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttCCCCeeeennnntttteeeerrrrlllliiiinnnneeee
_w_i_d_g_e_t Specifies the Text widget ID
For a complete definition of Text and its associated
resources, see XXXXmmmmTTTTeeeexxxxtttt(3).
RRRREEEETTTTUUUURRRRNNNN
Returns an integer value that indicates the _y position of
the baseline in the Text widget. The calculation takes into
account the margin height, shadow thickness, highlight
thickness, and font ascent of the first font (set) in the
fontlist used for drawing text. In this calculation, the _y
position of the top of the widget is 0 (zero).
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmTTTTeeeexxxxtttt(3), XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttCCCCeeeennnntttteeeerrrrlllliiiinnnneeee(3).
Page 1 (printed 10/24/98)